import requests, pprint

# response = requests.get('http://localhost:8081/api/mgr/customers?action=list_customer')
#
# pprint.pprint(response.json())



# 测试账号登陆
payload = {
    'username': 'byhy',
    'password': '88888888'
}

response = requests.post('http://localhost:8081/api/mgr/signin',
              data=payload)

pprint.pprint(response.json())
